{extend name="property/public/insidePageBase" /}
{block name="title"}人工抄读{/block}
{block name="body"}
<div class="layuimini-container">
    <div class="layuimini-main">
        <div class="layui-form  layui-form-pane">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">上期抄读</label>
                    <div class="layui-input-inline">
                        <input type="text" value="{$meterInfo['read_time']??'--'}" disabled  autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">抄读时间</label>
                    <div class="layui-input-inline" >
                        <input type="text" name="day_time"  lay-verify="require" id="use_time" autocomplete="off" placeholder="yyyy-MM-dd" class="layui-input">
                    </div>
                </div>
            </div>

            <div class="electricity_mode1" {if $meterInfo['mode_type'] == 2}style="display: none"{/if}>
                <div class="layui-form-item">
                    <label class="layui-form-label">上期读数</label>
                    <div class="layui-input-block">
                        <input type="text" value="{$meterInfo['read_z']??''}" disabled autocomplete="off" class="layui-input" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">本期读数</label>
                    <div class="layui-input-block">
                        <input type="text" name="read_z"  autocomplete="off" placeholder="请输入本期读数" class="layui-input" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')">
                    </div>
                </div>
            </div>

            <div class="layui-form-item electricity_mode2"  {if $meterInfo['mode_type'] != 2}style="display: none"{/if}>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">上期读数 尖</label>
                        <div class="layui-input-inline">
                            <input type="text" value="{$meterInfo['read_j']??''}" disabled  autocomplete="off" class="layui-input" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">本期读数 尖</label>
                        <div class="layui-input-inline">
                            <input type="text" name="read_j" placeholder="请输入本期读数" autocomplete="off" class="layui-input" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">上期读数 峰</label>
                        <div class="layui-input-inline">
                            <input type="text" value="{$meterInfo['read_f']??''}" disabled  autocomplete="off" class="layui-input" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">本期读数 峰</label>
                        <div class="layui-input-inline" >
                            <input type="text" name="read_f" placeholder="请输入本期读数" autocomplete="off" class="layui-input" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">上期读数 平</label>
                        <div class="layui-input-inline">
                            <input type="text" value="{$meterInfo['read_p']??''}" disabled  autocomplete="off" class="layui-input" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">本期读数 平</label>
                        <div class="layui-input-inline" >
                            <input type="text" name="read_p"  placeholder="请输入本期读数" autocomplete="off" class="layui-input" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">上期读数 谷</label>
                        <div class="layui-input-inline">
                            <input type="text" value="{$meterInfo['read_g']??''}" disabled  autocomplete="off" class="layui-input" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">本期读数 谷</label>
                        <div class="layui-input-inline" >
                            <input type="text" name="read_g"  placeholder="请输入本期读数" autocomplete="off" class="layui-input" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')">
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-form-item layui-hide">
                <button class="layui-btn" lay-submit lay-filter="submitBtn" id="submitBtn">提交</button>
            </div>
        </div>
    </div>
</div>
{/block}
{block name="js"}
{__block__}
<script>
    layui.use(['form', 'layer', 'laydate'], function () {
        var form = layui.form,layer = layui.layer,  $ = layui.$,laydate = layui.laydate;
        laydate.render({
            elem: '#use_time', max: 0
        });
    });
</script>
{/block}
